<?php

/**
 * 后台管理组验证器
 * @author  xiaobai
 * @date    2017-01-12
 */

namespace app\common\validate;

use think\Validate;

class Group extends Validate
{
    
    protected $rule = [
        'name' => 'require',
        'sort' => 'number',
    ];

    protected $message = [
        'name' => '管理组名称不能为空',
        'sort' => '排序只能为数字',
    ];

}
